package com.zenithmind.library.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * 预约更新DTO
 * 
 * @author ZenithMind
 * @since 2024-06-14
 */
@Data
@Schema(name = "预约更新DTO", description = "更新预约时的数据传输对象")
public class ReservationUpdateDTO {

    @Schema(description = "预约到期日期", example = "2024-07-21")
    private LocalDate expirationDate;

    @Schema(description = "可取书日期", example = "2024-07-14")
    private LocalDate availableDate;

    @Schema(description = "预约状态 (0-预约中, 1-可取书, 2-已取书, 3-已取消, 4-已过期)", example = "1")
    private Integer status;

    @Schema(description = "预约优先级", example = "1")
    private Integer priority;

    @Schema(description = "通知方式 (1-邮件, 2-短信, 3-站内信)", example = "1")
    private Integer notificationMethod;

    @Schema(description = "取消原因", example = "不再需要")
    private String cancellationReason;

    @Schema(description = "备注", example = "已通知用户")
    private String remarks;

    @Schema(description = "操作员ID", example = "admin")
    private String operatorId;
}
